import LayoutBase from '@/page/layout/base'
import SliderMessage from '@/page/layout/slider/message'

export default [
  {
    path: '/message',
    component: LayoutBase,
    children: [
      {
        path: '/message',
        component: SliderMessage,
        children: [
          {
            path: '/message/index',
            name: 'message',
            component: () => import(/* webpackChunkName: "notice" */'@/views/message/index'),
            meta: {title: '消息'}
          },
          {
            path: '/message/all/:type',
            name: 'message',
            component: () => import(/* webpackChunkName: "notice" */'@/views/message/all'),
            meta: {title: '消息'}
          },
          {
            path: '/message/detail/:id',
            name: 'message',
            component: () => import(/* webpackChunkName: "notice" */'@/views/message/detail'),
            meta: {title: '消息'}
          }
        ]
      }
    ],

  }
]
